home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 22
/
Cream of the Crop 22.iso
/
program
/
snpd9611.zip
/
STRDELCH.C
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-24
|
775b
|
27 lines
.I 0 2
/* +++Date last modified: 24-Nov-1996 */
.I 4 7
**
** NOTE: The name of this funtion violates ANSI/ISO 9899:1990 sec. 7.1.3,
** but this violation seems preferable to either violating sec. 7.13.8
** or coming up with some hideous mixed-case or underscore infested
** naming. Also, many SNIPPETS str---() functions duplicate existing
** functions which are supported by various vendors, so the naming
** violation may be required for portability.
.I 10 5
#if defined(__cplusplus) && __cplusplus
extern "C" {
#endif
char *strdelch(char *string, const char *lose)
.D 11 1
.I 30 4
#if defined(__cplusplus) && __cplusplus
}
#endif
.I 46 1
printf("\"%s\"\n", strdelch(strng, delstrng));
.D 47 1